package com.future.controller;

import com.future.common.annotation.ControllerMapping;
import com.future.common.annotation.NoNeedLogin;
import com.future.common.base.BaseController;
import com.future.dao.DicDao;
import com.jfinal.aop.Inject;

/**
 * 字典
 * 
 * @author ThinkPad
 *
 */
@ControllerMapping("/dic")
public class DicController extends BaseController {
	@Inject
	private DicDao dicDao;
	@NoNeedLogin
	public void getDic(String dicBh) {
		renderResult("dics", this.dicDao.getDicByBh(dicBh));

	}
}
